﻿using Model.Admin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WeiXinpProAdmin.Controllers
{
    public class HomeController : AdminBaseController
    {
        public ActionResult Index()
        {
            List<AdminMenu> menus = this.CurrentUserMenus;
            ViewData["menus"] = menus;
            ViewBag.CurrentUser = this.CurrentUser;
            return View();
        }

        public ActionResult DashBoard()
        {
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}